#pragma once
#include "MFC_OpenGlView.h"


// ControlView form view

class ControlView : public CFormView
{
	DECLARE_DYNCREATE(ControlView)

protected:
	ControlView();           // protected constructor used by dynamic creation
	virtual ~ControlView();

public:
	enum { IDD = IDD_CONTROLVIEW };
#ifdef _DEBUG
	virtual void AssertValid() const;
#ifndef _WIN32_WCE
	virtual void Dump(CDumpContext& dc) const;
#endif
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedRadio1();
	afx_msg void OnBnClickedButton1();
public:
	bool CheckIsNumeric(const std::wstring &str);

protected:
	CMFC_OpenGlView *leftView;
	GLfloat x;
	GLfloat y;
	GLfloat z;
	int index;
	int direction;
public:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnBnClickedButton2();
	afx_msg void OnBnClickedRadio3();
	afx_msg void OnBnClickedRadio4();
	afx_msg void OnBnClickedRadio5();
	afx_msg void OnBnClickedRadio6();
	afx_msg void OnBnClickedRadio7();
	afx_msg void OnBnClickedRadio8();
	afx_msg void OnBnClickedRadio9();
	afx_msg void OnBnClickedRadio10();
	virtual void OnInitialUpdate();
};


